package com.jtcoding.chat.service;

import com.jtcoding.chat.model.User;

import javax.mail.MessagingException;

/**
 * @author jason.tang
 * @create 2019-02-12 14:16
 * @description
 */
public interface MailService {

    void putUser(User user);

    void sendHtmlMail(String to, String subject, String content) throws MessagingException;

    void sendActivitiesMail(String sendTo, User user) throws MessagingException;
}